package com.everyline.baselibrary.network


/**
 *creatd by 天天挂线
 *email:746608431@qq.com
 *on 2020/7/6
 *描述:TODO
 */
data class BaseResult<T>(
    var msg: String,
    var status: Int,
    var data: T?
) : BaseResponse<T>() {
    override fun isSucces(): Boolean = status == 1
    override fun getResponseData(): T? = data
    override fun getResponseCode(): Int = status
    override fun getResponseMsg(): String = msg
}